﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebsiteBanThucAn.Models;
using DAL;

namespace BLL
{
    public class DatHangBLL
    {
        public static List<DatHangModel> LayDSDatHangTatCa()
        {
            return DatHangDAL.LayDSDatHangTatCa();
        }

        public static bool ThemDatHang(DatHangModel dhm)
        {
            return DatHangDAL.ThemDatHang(dhm);
        }

        public static bool XoaDatHang(int id)
        {
            return DatHangDAL.XoaDatHang(id);
        }
    }
}
